package edu.xhu.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel(value = "bili用户评论表")
@Data
@TableName("bili_user_comment")
@Accessors(chain = true)
public class BiliUserComment {

    /**
     * 评论唯一id
     */
    @TableId("comment_id")
    @ApiModelProperty(name = "评论唯一id", notes = "")
    private Long commentId;
    /**
     * 视频id
     */
    @TableField("video_id")
    @ApiModelProperty(name = "视频id", notes = "")
    private Long videoId;
    /**
     * 评论者id
     */
    @TableField("user_id")
    @ApiModelProperty(name = "评论者id", notes = "")
    private Long userId;
    /**
     * 根节点id
     */
    @TableField("root_id")
    @ApiModelProperty(name = "根节点id", notes = "")
    private Long rootId;
    /**
     * 父节点id
     */
    @TableField("parent_id")
    @ApiModelProperty(name = "父节点id", notes = "")
    private Long parentId;
    /**
     * 被评论者id
     */
    @TableField("to_user_id")
    @ApiModelProperty(name = "被评论者id", notes = "")
    private Long toUserId;
    /**
     * 评论内容
     */
    @TableField("content")
    @ApiModelProperty(name = "评论内容", notes = "")
    private String content;
    /**
     * 点赞评论
     */
    @TableField("love")
    @ApiModelProperty(name = "点赞评论", notes = "")
    private Integer love;
    /**
     * 踩评论
     */
    @TableField("bad")
    @ApiModelProperty(name = "踩评论", notes = "")
    private Integer bad;
    /**
     * 评论时间
     */
    @TableField("create_time")
    @ApiModelProperty(name = "评论时间", notes = "")
    private Date createTime;
    /**
     * 是否置顶
     */
    @TableField("is_top")
    @ApiModelProperty(name = "是否置顶", notes = "")
    private String isTop;
    /**
     * 是否删除
     */
    @TableField("is_delete")
    @ApiModelProperty(name = "是否删除", notes = "")
    private String isDelete;

    /**
     * 是否被up主点赞
     */
    @TableField("is_like")
    @ApiModelProperty(name = "是否被up主点赞", notes = "")
    private String isLike;
    /**
     * 总回复数
     */
    @TableField("total_comment_size")
    @ApiModelProperty(name = "总回复数", notes = "")
    private Integer totalCommentSize;
    /**
     * 评论深度
     */
    @TableField("deep")
    @ApiModelProperty(name = "评论深度",notes = "")
    private Integer deep;

}
